]> dgit.raspbian.org Git - gnome-shell.git/commit
brightnessManager: Propagate any attempted brightness change
authorSebastian Wick <sebastian.wick@redhat.com>
Thu, 30 Oct 2025 10:43:19 +0000 (11:43 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Nov 2025 13:42:59 +0000 (14:42 +0100)
commit5466abca99f13cd1d13dd7a6882e0129a98cd963
tree3396cfe1dc0c24295ba5c778921777b0d740df1b
parent27c1fdd4e651d9dff07c35af32868fc8098719a1
brightnessManager: Propagate any attempted brightness change

The BrightnessScale was trying to be smart by not notifying changes of
its value when an action on it (stepUp, stepDown, cycleUp, set value)
resulted in no change.

It turns out that users do want to see an OSD even when their action
resulted in no change.

Always notify about attempted changes instead.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8770
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3941>
(cherry picked from commit aaef85ecbd558fec8aa138678fe859de930d42dd)
js/misc/brightnessManager.js